From: Keir Fraser Date: Tue, 9 Mar 2010 12:29:10 +0000 (+0000) Subject: x86: Disable VCPUOP_register_vcpu_time_memory_area. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12526 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=a148f0e67dee472f185cf66b11fbc6cdc90a1804;p=xen.git x86: Disable VCPUOP_register_vcpu_time_memory_area. Its implementation is buggy and causes memory corruption. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 0ead1a1985..d20487f8d9 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -970,6 +970,11 @@ arch_do_vcpu_op( break; } + /* + * XXX Disable for 4.0.0: __update_vcpu_system_time() writes to the given + * virtual address even when running in another domain's address space. + */ +#if 0 case VCPUOP_register_vcpu_time_memory_area: { struct vcpu_register_time_memory_area area; @@ -988,6 +993,7 @@ arch_do_vcpu_op( break; } +#endif case VCPUOP_get_physid: {